<template>
  <div class="container">
    <!--form表单容器-->
    <div class="forms-container">
      <div class="signin-signup">
        <!--登录-->
        <h1>登录</h1>
        <!--注册-->
        <h1>注册</h1>
      </div>
    </div>
  </div>
</template>

<script>
import { reactive, toRefs } from 'vue'

export default {
  name: 'LoginRegister',
  components: {},
  setup () {
    const state = reactive({
      count: 0
    })

    return {
      ...toRefs(state)
    }
  }
}
</script>

<style scoped>
.container{
  position: relative;
  width: 100%;
  background-color: #fff;
  min-height: 100vh;
  overflow: hidden;
}
.forms-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.signin-signup{
  position: abssolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 75%;
  width:44%;
  transition: 1s 0.7s ease-in-out;
  grid-template-columns: 1fr;
  z-index: 5;
}
</style>
